package com.bitnei.battery.constants;

/**
 * @author czl
 * @email czl_nylg@163.com
 * @date 2019/10/15 9:43
 * @Version 1.0
 * @Description: 电池类型字典
 */
public enum BatteryType {

    NQ("镍氢电池","A"),

    LS("磷酸铁锂电池","   B"),

    MS("锰酸锂电池","C"),

    GS("钴酸锂电池","D"),

    SY("三元材料电池","E"),

    CJ("超级电容器","F"),

    TS("钛酸锂电池","G"),

    QT("其他","Z");

    private String name;

    private String code;

    BatteryType(String name, String code){
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
